namespace Model
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class Role_Power_Group
    {
        [Key]
        public int R_P_GId { get; set; }

        public int? RoleId { get; set; }

        public int? PowerId { get; set; }

        public int? PowerGroupId { get; set; }

        public virtual PowerGroup PowerGroup { get; set; }

        public virtual Powers Powers { get; set; }

        public virtual Roles Roles { get; set; }
    }
}
